index.html.vue 88 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369
  1. <template>
  2. <div>
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <!-- 页面导航 -->
  6. <HomePageNavigation></HomePageNavigation>
  7. <!-- 广告一 -->
  8. <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
  9. <!-- 二级导航列表 -->
  10. <div class="nav2top"></div>
  11. <div class="nav2">
  12. <ul class="inner">
  13. <li class="home">
  14. {{ title }}
  15. </li>
  16. <li class="titleList" v-for="(item, index) in pageData" :key="index">
  17. <NuxtLink :href="getLinkPath(item)" :title="item.alias">
  18. <span class="nav2_title">{{ item.alias }}</span>
  19. </NuxtLink>
  20. </li>
  21. </ul>
  22. </div>
  23. <div class="nav2btm"></div>
  24. <!-- 第一层 -->
  25. <!-- 第一部分 -->
  26. <div class="part1">
  27. <div class="inner">
  28. <div class="part1_left" v-if="pageData[0]">
  29. <div class="part1_title">
  30. <h2 class="nav_part1_left">
  31. <NuxtLink :href="getLinkPath(pageData[0])" v-if="pageData[0]" :title="pageData[0].alias">
  32. {{ pageData[0].alias }}
  33. </NuxtLink>
  34. <em></em>
  35. </h2>
  36. </div>
  37. <div class="part1_content">
  38. <div class="context_left">
  39. <div class="top" v-for="(item, index) in pageData[0].data" :key="index">
  40. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  41. <img :src="item.imgurl" alt="item.title">
  42. <span class="title1">{{ item.title }}</span>
  43. </NuxtLink>
  44. </div>
  45. <div class="bottom">
  46. <div class="bottom_left" v-for="(item, index) in pageData[0].data1" :key="index">
  47. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  48. <img :src="item.imgurl" alt="item.title">
  49. <span class="title2">{{ item.title }}</span>
  50. </NuxtLink>
  51. </div>
  52. </div>
  53. </div>
  54. <div class="context_right">
  55. <ul class="rightContent">
  56. <li class="context1" v-for="(item, index) in pageData[0].data2" :key="index">
  57. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  58. {{ item.title }}
  59. </NuxtLink>
  60. </li>
  61. </ul>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="part1_right" v-if="pageData[1]">
  66. <div class="part1_right_title">
  67. <h2 class="part1_right_title1_active">
  68. <NuxtLink :href="getLinkPath(pageData[1])" v-if="pageData[1]" :title="pageData[1].alias">
  69. {{ pageData[1].alias }}
  70. </NuxtLink>
  71. <em class="active_bg"></em>
  72. </h2>
  73. </div>
  74. <div class="part1_right_content">
  75. <div class="part1_right_top11">
  76. <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  77. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  78. <img :src="item.imgurl" alt="item.title">
  79. <span class="content_top_title2">{{ item.title }}</span>
  80. </NuxtLink>
  81. </div>
  82. </div>
  83. <!-- <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  84. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  85. <img :src="item.imgurl" alt="item.title">
  86. <span class="content_top_title2">{{ item.title }}</span>
  87. </NuxtLink>
  88. </div> -->
  89. <ul class="part1_right_content_bottom">
  90. <li class="content_bottom_list" v-for="(item, index) in pageData[1].data1" :key="index">
  91. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  92. {{ item.title }}
  93. </NuxtLink>
  94. </li>
  95. </ul>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <!-- 第二部分 -->
  101. <div class="part2">
  102. <div class="inner">
  103. <div class="part2_left" v-if="pageData[2]">
  104. <div class="part2_title">
  105. <h2 class="nav_part2_left">
  106. <NuxtLink :href="getLinkPath(pageData[2])" v-if="pageData[2]" :title="pageData[2].alias">
  107. {{ pageData[2].alias }}
  108. </NuxtLink>
  109. <em></em>
  110. </h2>
  111. </div>
  112. <div class="part2_content">
  113. <div class="part2_content_left">
  114. <ul class="content_a">
  115. <li class="context111" v-for="(item, index) in pageData[2].data2" :key="index">
  116. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  117. {{ item.title }}
  118. </NuxtLink>
  119. </li>
  120. </ul>
  121. </div>
  122. <div class="part2_content_right">
  123. <div class="right_top" v-for="(item, index) in pageData[2].data" :key="index">
  124. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  125. <img :src="item.imgurl" alt="item.title">
  126. <span class="title11">{{ item.title }}</span>
  127. </NuxtLink>
  128. </div>
  129. <div class="right_bottom">
  130. <div class="bottom_left" v-for="(item, index) in pageData[2].data1" :key="index">
  131. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  132. <img :src="item.imgurl" alt="item.title">
  133. <span class="title22">{{ item.title }}</span>
  134. </NuxtLink>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. <div class="part2_right" v-if="pageData[3]">
  141. <div class="part2_right_title">
  142. <h2 class="part2_right_title1_active">
  143. <NuxtLink :href="getLinkPath(pageData[3])" v-if="pageData[3]" :title="pageData[3].alias">
  144. {{ pageData[3].alias }}
  145. </NuxtLink>
  146. <em class="active_bg11"></em>
  147. </h2>
  148. </div>
  149. <div class="part2_right_content">
  150. <div class="part2_right_top11">
  151. <div class="part2_right_content_top" v-for="(item, index) in pageData[3].data" :key="index">
  152. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  153. <img :src="item.imgurl" alt="item.title">
  154. <span class="content_top_title22">{{ item.title }}</span>
  155. </NuxtLink>
  156. </div>
  157. </div>
  158. <ul class="part2_right_content_bottom">
  159. <li class="content_bottom_list" v-for="(item, index) in pageData[3].data2" :key="index">
  160. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  161. {{ item.title }}
  162. </NuxtLink>
  163. </li>
  164. </ul>
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. <!-- 广告二 -->
  170. <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>
  171. <!-- 第二层 -->
  172. <div class="part3" v-if="pageData[4]">
  173. <div class="inner">
  174. <div class="part3_left">
  175. <div class="part3_left_top" v-if="pageData[4]">
  176. <div class="part3_leftTitle">
  177. <h2 class="part3_left_title">
  178. <NuxtLink :href="getLinkPath(pageData[4])" v-if="pageData[4]"
  179. :title="pageData[4].alias">
  180. {{ pageData[4].alias }}
  181. </NuxtLink>
  182. <em></em>
  183. </h2>
  184. </div>
  185. <div class="part3_left_content" v-if="pageData[4]">
  186. <div class="part3_left_content_top">
  187. <div class="content_top_left">
  188. <div class="part3_photo_text" v-for="(item, index) in pageData[4].data"
  189. :key="index">
  190. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  191. <img :src="item.imgurl" alt="item.title">
  192. <span class="part3_text">{{ item.title }}</span>
  193. </NuxtLink>
  194. <span class="littleTips">精选</span>
  195. </div>
  196. <ul class="part3_content">
  197. <li class="part3_content_list" v-for="(item, index) in pageData[4].data1"
  198. :key="index">
  199. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  200. {{ item.title }}
  201. </NuxtLink>
  202. </li>
  203. </ul>
  204. </div>
  205. <ul class="content_top_right">
  206. <li class="content_right_list" v-for="(item, index) in pageData[4].data1"
  207. :key="index">
  208. <NuxtLink to="#">
  209. <div class="part3_time">
  210. <span class="month">{{ getTime(item.updated_at, 'day', 1) }}</span>
  211. <span class="xiegang">/</span>
  212. <span class="day">{{ getTime(item.updated_at, 'month', 1) }}</span>
  213. </div>
  214. <div class="time_left_content">
  215. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  216. {{ item.title }}
  217. </NuxtLink>
  218. </div>
  219. </NuxtLink>
  220. </li>
  221. </ul>
  222. </div>
  223. </div>
  224. </div>
  225. <div class="part3_left_bottom" v-if="pageData[5] || pageData[6]">
  226. <div class="part3_leftTitle1">
  227. <h2 class="part3_left_title" v-if="pageData[5]" @mouseenter="tabsData = 1"
  228. :class="{ part3_left_title_active: tabsData == 1 }">
  229. <NuxtLink :href="getLinkPath(pageData[5])" @mouseenter="tabsData = 1"
  230. :class="{ active: tabsData == 1 }" :title="pageData[5].alias">
  231. {{ pageData[5].alias }}
  232. </NuxtLink>
  233. <em></em>
  234. </h2>
  235. <h2 class="part3_left_title" v-if="pageData[6]" @mouseenter="tabsData = 2"
  236. :class="{ part3_left_title_active: tabsData == 2 }">
  237. <NuxtLink :href="getLinkPath(pageData[6])" v-if="pageData[6]" @mouseenter="tabsData = 2"
  238. :class="{ active: tabsData == 2 }" :title="pageData[6].alias">
  239. {{ pageData[6].alias }}
  240. </NuxtLink>
  241. <em></em>
  242. </h2>
  243. </div>
  244. <div class="part3_left_content1" v-if="tabsData == 1">
  245. <div class="content_bottom_left">
  246. <div class="content_top" v-for="(item, index) in pageData[5].data" :key="index">
  247. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  248. <img :src="item.imgurl" alt="item.title">
  249. <span class="part3_text">{{ item.title }}</span>
  250. </NuxtLink>
  251. </div>
  252. <div class="content_bottom">
  253. <div class="content_bottom_1" v-for="(item, index) in pageData[5].data1"
  254. :key="index">
  255. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  256. <img :src="item.imgurl" alt="item.title">
  257. <span class="part3_text">{{ item.title }}</span>
  258. </NuxtLink>
  259. </div>
  260. </div>
  261. </div>
  262. <div class="content_bottom_right">
  263. <ul class="bottom_content_1">
  264. <li class="bottom_content_list" v-for="(item, index) in pageData[5].data2"
  265. :key="index">
  266. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  267. {{ item.title }}
  268. </NuxtLink>
  269. </li>
  270. </ul>
  271. </div>
  272. </div>
  273. <div class="part3_left_content1" v-if="tabsData == 2 && pageData[6].alias">
  274. <div class="content_bottom_left">
  275. <div class="content_top" v-for="(item, index) in pageData[6].data" :key="index">
  276. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  277. <img :src="item.imgurl" alt="item.title">
  278. <span class="part3_text">{{ item.title }}</span>
  279. </NuxtLink>
  280. </div>
  281. <div class="content_bottom">
  282. <div class="content_bottom_1" v-for="(item, index) in pageData[6].data1"
  283. :key="index">
  284. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  285. <img :src="item.imgurl" alt="item.title">
  286. <span class="part3_text">{{ item.title }}</span>
  287. </NuxtLink>
  288. </div>
  289. </div>
  290. </div>
  291. <div class="content_bottom_right">
  292. <ul class="bottom_content_1">
  293. <li class="bottom_content_list" v-for="(item, index) in pageData[6].data2"
  294. :key="index">
  295. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  296. {{ item.title }}
  297. </NuxtLink>
  298. </li>
  299. </ul>
  300. </div>
  301. </div>
  302. </div>
  303. </div>
  304. <div class="part3_right" v-if="pageData[7]">
  305. <div class="part3_rightTitle">
  306. <h2 class="part3_right_title">
  307. <NuxtLink :href="getLinkPath(pageData[7])" v-if="pageData[7]" :title="pageData[7].alias">
  308. {{ pageData[7].alias }}
  309. </NuxtLink>
  310. <em></em>
  311. </h2>
  312. <div class="rightMore">
  313. <!-- <NuxtLink to="#">更多》</NuxtLink> -->
  314. </div>
  315. </div>
  316. <ul class="part3_right_content_top" v-if="pageData[7].data1.length > 0">
  317. <li class="part3_right_contentlist_top" v-for="(item, index) in pageData[7].data1" :key="index">
  318. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  319. <span class="numStyle">{{ index + 1 }}</span>
  320. {{ item.title }}
  321. </NuxtLink>
  322. </li>
  323. </ul>
  324. <div class="part3_photo_text_right" v-if="pageData[7].data[0]">
  325. <NuxtLink :href="getLinkPathDetail(pageData[7].data[0])" :title="pageData[7].data[0].title">
  326. <span class="part3_text11">{{ pageData[7].data[0].title }}</span>
  327. <img :src="pageData[7].data[0].imgurl" :alt="pageData[7].data[0].title">
  328. </NuxtLink>
  329. </div>
  330. <ul class="part3_right_content_11" v-if="pageData[7].data2.length > 0">
  331. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data2" :key="index">
  332. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  333. {{ item.title }}
  334. </NuxtLink>
  335. </li>
  336. </ul>
  337. <div class="part3_photo_text_right" v-if="pageData[7].data[1]">
  338. <NuxtLink :href="getLinkPathDetail(pageData[7].data[1])" :title="pageData[7].data[1].title">
  339. <span class="part3_text11">{{ pageData[7].data[1].title }}</span>
  340. <img :src="pageData[7].data[1].imgurl" :alt="pageData[7].data[1].title">
  341. </NuxtLink>
  342. </div>
  343. <ul class="part3_right_content_11">
  344. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data3" :key="index">
  345. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  346. {{ item.title }}
  347. </NuxtLink>
  348. </li>
  349. </ul>
  350. <div class="part3_photo_text_right" v-if="pageData[7].data[2]">
  351. <NuxtLink :href="getLinkPathDetail(pageData[7].data[2])" :title="pageData[7].data[2].title">
  352. <span class="part3_text11">{{ pageData[7].data[2].title }}</span>
  353. <img :src="pageData[7].data[2].imgurl" :alt="pageData[7].data[2].title">
  354. </NuxtLink>
  355. </div>
  356. <ul class="part3_right_content_11">
  357. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data4" :key="index">
  358. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  359. {{ item.title }}
  360. </NuxtLink>
  361. </li>
  362. </ul>
  363. </div>
  364. </div>
  365. </div>
  366. <!-- 页脚部分 -->
  367. <HomeFoot1></HomeFoot1>
  368. </div>
  369. </template>
  370. <script setup>
  371. //0.加载页面依赖 start ---------------------------------------->
  372. import { ref, onMounted } from 'vue';
  373. //0.加载页面依赖 end ---------------------------------------->
  374. //1.获得路由id start ---------------------------------------->
  375. const route = useRoute();
  376. //获得当前的完整路径
  377. const fullPath = route.path;
  378. //拆分,取出来中间这一段,然后提取数字部分
  379. const segments = fullPath.split('/');
  380. const targetSegment = segments[1];
  381. //let routeId = 11 //排除路径错误可以打开这个
  382. //const numberPart = targetSegment.match(/\d+$/)?.[0];
  383. //let routeId = numberPart;
  384. let routeId;
  385. //通过导航路径反向查询导航id
  386. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  387. method: 'GET',
  388. query: {
  389. 'pinyin': targetSegment,
  390. },
  391. });
  392. if (getRouteId.code == 200) {
  393. routeId = getRouteId.data.category_id
  394. } else {
  395. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  396. console.log("错误位置:通过url路径查询导航池id")
  397. console.log("后端错误反馈:", getRouteId.message)
  398. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  399. }
  400. //1.获得路由id end ---------------------------------------->
  401. //2.页面交互效果 start ---------------------------------------->
  402. //2.1
  403. const title = ref("")
  404. const tabsData = ref(1)
  405. async function getPageDataTitle() {
  406. const mkdata = await requestDataPromise('/web/getOneWebsiteCategory', {
  407. method: 'GET',
  408. query: {
  409. 'catid': routeId,
  410. },
  411. });
  412. if (mkdata.code == 200) {
  413. title.value = mkdata.data.alias;
  414. } else {
  415. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  416. console.log("错误位置:获取二级标题")
  417. console.log("后端错误反馈:", mkdata.message)
  418. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  419. }
  420. }
  421. getPageDataTitle();
  422. //2.1 新闻图片切换
  423. const hoverStatus = ref(0)
  424. const qhPic = function (num) {
  425. console.log(num)
  426. hoverStatus.value = num;
  427. }
  428. //2.2 选项卡切换
  429. let showTabs = ref(1)
  430. let qhtabs = function (number) {
  431. console.log(number)
  432. showTabs.value = number
  433. }
  434. //2.3 展示广告
  435. let adImg1 = ref({})
  436. let adImg2 = ref({})
  437. let adImg3 = ref({})
  438. let adImg4 = ref({})
  439. onMounted(async () => {
  440. //从客户端获取行政职能部门 加快打开速度
  441. const { $webUrl, $CwebUrl } = useNuxtApp();
  442. //广告1
  443. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0001`
  444. const responseAd1 = await fetch(url, {
  445. headers: {
  446. 'Content-Type': 'application/json',
  447. 'Userurl': $CwebUrl,
  448. 'Origin': $CwebUrl
  449. }
  450. });
  451. const resultAd1 = await responseAd1.json();
  452. adImg1.value = resultAd1.data[0];
  453. //广告2
  454. let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0002`
  455. const responseAd2 = await fetch(url2, {
  456. headers: {
  457. 'Content-Type': 'application/json',
  458. 'Userurl': $CwebUrl,
  459. 'Origin': $CwebUrl
  460. }
  461. });
  462. const resultAd2 = await responseAd2.json();
  463. adImg2.value = resultAd2.data[0];
  464. //广告3
  465. let url3 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0003`
  466. const responseAd3 = await fetch(url3, {
  467. headers: {
  468. 'Content-Type': 'application/json',
  469. 'Userurl': $CwebUrl,
  470. 'Origin': $CwebUrl
  471. }
  472. });
  473. const resultAd3 = await responseAd3.json();
  474. adImg3.value = resultAd3.data[0];
  475. //广告4
  476. let url4 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0004`
  477. const responseAd4 = await fetch(url4, {
  478. headers: {
  479. 'Content-Type': 'application/json',
  480. 'Userurl': $CwebUrl,
  481. 'Origin': $CwebUrl
  482. }
  483. });
  484. const resultAd4 = await responseAd4.json();
  485. adImg4.value = resultAd4.data[0];
  486. })
  487. //2.页面交互效果 end ---------------------------------------->
  488. //3.渲染页面数据 start ---------------------------------------->
  489. //3.1 该页面上所有的导航池 转为动态数据
  490. const pageCategory = ref([]);
  491. //3.2 该页面上需要渲染的所有数据
  492. const pageData = ref([
  493. // { id: 0, data: [], data2: [], title: "", cid: "" },
  494. // { id: 1, data: [], title: "", cid: "" },
  495. // { id: 2, data: [], title: "", cid: "" },
  496. // { id: 3, data: [], title: "", cid: "" },
  497. // { id: 4, data: [], title: "", cid: "" },
  498. // { id: 5, data: [], title: "", cid: "" },
  499. // { id: 6, data: [], title: "", cid: "" },
  500. // { id: 7, data: [], title: "", cid: "" },
  501. // { id: 8, data: [], title: "", cid: "" },
  502. ])
  503. const navSize = ref("");
  504. //3.3 获取所有导航
  505. try {
  506. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  507. method: 'GET',
  508. query: {
  509. 'placeid': 1,
  510. 'pid': routeId,
  511. 'num': 8
  512. },
  513. });
  514. if (navigateData.code == 200) {
  515. // 遍历可用的导航池放到页面中
  516. for (let index in navigateData.data) {
  517. let data = {
  518. title: navigateData.data[index].name,
  519. cid: navigateData.data[index].category_id,
  520. children_count: navigateData.data[index].children_count,
  521. alias: navigateData.data[index].alias,
  522. aLIas_pinyin: targetSegment + "/" + navigateData.data[index].aLIas_pinyin,
  523. data: [],
  524. data1: [],
  525. data2: [],
  526. data3: [],
  527. data4: [],
  528. category_id1: "",
  529. category_id2: "",
  530. category_id3: "",
  531. category_id4: "",
  532. title1: "",
  533. title2: "",
  534. title3: "",
  535. title4: ""
  536. };
  537. if (navigateData.data[index].is_url == 1) {
  538. // 处理 URL 的逻辑
  539. } else {
  540. //每个页面最多8个模块
  541. pageData.value.push(data);
  542. }
  543. }
  544. //导航池加载完毕,开始申请模块数据
  545. // await getPageData1();
  546. // await getPageData2();
  547. // await getPageData3();
  548. // await getPageData4();
  549. // await getPageData5();
  550. // await getPageData6();
  551. // await getPageData7();
  552. // await getPageData8();
  553. let getJson = [
  554. // { "parent": routeId + ",0,0", "child": pageData.value[0].cid + ",3,10" },//模块1理论前沿
  555. // { "parent": routeId + ",0,0", "child": pageData.value[1].cid + ",2,6" },//模块2典型经验
  556. // { "parent": routeId + ",0,0", "child": pageData.value[2].cid + ",3,10" },//模块3农业天地
  557. // { "parent": routeId + ",0,0", "child": pageData.value[3].cid + ",2,6" },//模块4美丽乡村
  558. // { "parent": routeId + ",0,0", "child": pageData.value[4].cid + ",1,10" },//模块5农民之家
  559. // { "parent": routeId + ",0,0", "child": pageData.value[5].cid + ",3,10" },//模块6农业天地
  560. // { "parent": routeId + ",0,0", "child": pageData.value[6].cid + ",3,10" },//模块7农村建设
  561. // { "parent": routeId + ",0,0", "child": pageData.value[7].cid + ",3,13" },//模块8高端资讯
  562. ]
  563. for (let i = 0; i < pageData.value.length; i++) {
  564. if (i == 0) {
  565. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  566. } else if (i == 1) {
  567. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",2,6" });
  568. } else if (i == 2) {
  569. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  570. } else if (i == 3) {
  571. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",2,6" });
  572. } else if (i == 4) {
  573. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",1,10" });
  574. } else if (i == 5) {
  575. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  576. } else if (i == 6) {
  577. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  578. } else if (i == 7) {
  579. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,13" });
  580. }
  581. }
  582. let jsonString = JSON.stringify(getJson);
  583. getPageAllData(jsonString);
  584. } else {
  585. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  586. console.log("错误位置:分类页导航池")
  587. console.log("后端错误反馈:", navigateData.message)
  588. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  589. }
  590. } catch (error) {
  591. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  592. console.log("错误位置:分类页导航渲染阶段")
  593. console.log("错误:导航池渲染执行接口出错!请检查首页的14的模块的具体执行方法!")
  594. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  595. }
  596. async function getPageAllData(jsonString) {
  597. const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
  598. method: 'GET',
  599. query: {
  600. 'id': jsonString
  601. },
  602. });
  603. if (mkdata.code == 200) {
  604. console.log(778899)
  605. console.log(mkdata.data)
  606. //模块1理论前沿
  607. if (mkdata.data[0].child.imgnum.length > 0) {
  608. pageData.value[0].data.push(mkdata.data[0].child.imgnum[0]);
  609. }
  610. if (mkdata.data[0].child.imgnum.length > 1) {
  611. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[1]);
  612. }
  613. if (mkdata.data[0].child.imgnum.length > 2) {
  614. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[2]);
  615. }
  616. pageData.value[0].data2 = mkdata.data[0].child.textnum;
  617. //模块2典型经验
  618. pageData.value[1].data = mkdata.data[1].child.imgnum;
  619. pageData.value[1].data1 = mkdata.data[1].child.textnum;
  620. //模块3农业天地
  621. if (mkdata.data[2].child.imgnum.length > 0) {
  622. pageData.value[2].data.push(mkdata.data[2].child.imgnum[0]);
  623. }
  624. if (mkdata.data[2].child.imgnum.length > 1) {
  625. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[1]);
  626. }
  627. if (mkdata.data[2].child.imgnum.length > 2) {
  628. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[2]);
  629. }
  630. pageData.value[2].data2 = mkdata.data[2].child.textnum;
  631. //模块4美丽乡村
  632. pageData.value[3].data = mkdata.data[3].child.imgnum;
  633. pageData.value[3].data2 = mkdata.data[3].child.textnum;
  634. //模块5农民之家
  635. pageData.value[4].data = mkdata.data[4].child.imgnum;
  636. for (let i in mkdata.data[4].child.textnum) {
  637. if (i < 5) {
  638. pageData.value[4].data1.push(mkdata.data[4].child.textnum[i]);
  639. } else {
  640. pageData.value[4].data2.push(mkdata.data[4].child.textnum[i]);
  641. }
  642. }
  643. //模块6农业天地
  644. if (mkdata.data[5].child.imgnum.length > 0) {
  645. pageData.value[5].data.push(mkdata.data[5].child.imgnum[0]);
  646. }
  647. if (mkdata.data[5].child.imgnum.length > 1) {
  648. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[1]);
  649. }
  650. if (mkdata.data[5].child.imgnum.length > 2) {
  651. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[2]);
  652. }
  653. pageData.value[5].data2 = mkdata.data[5].child.textnum;
  654. //模块7农村建设
  655. if (mkdata.data[6].child.imgnum.length > 0) {
  656. pageData.value[6].data.push(mkdata.data[6].child.imgnum[0]);
  657. }
  658. if (mkdata.data[6].child.imgnum.length > 1) {
  659. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[1]);
  660. }
  661. if (mkdata.data[6].child.imgnum.length > 2) {
  662. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[2]);
  663. }
  664. pageData.value[6].data2 = mkdata.data[6].child.textnum;
  665. //模块8高端资讯
  666. pageData.value[7].data = mkdata.data[7].child.imgnum;
  667. for (let i in mkdata.data[7].child.textnum) {
  668. if (i < 7) {
  669. pageData.value[7].data1.push(mkdata.data[7].child.textnum[i]);
  670. } else if (i < 9) {
  671. pageData.value[7].data2.push(mkdata.data[7].child.textnum[i]);
  672. } else if (i < 11) {
  673. pageData.value[7].data3.push(mkdata.data[7].child.textnum[i]);
  674. } else {
  675. pageData.value[7].data4.push(mkdata.data[7].child.textnum[i]);
  676. }
  677. }
  678. } else {
  679. ElMessage.error(mkdata.message)
  680. }
  681. }
  682. //获得模块数据
  683. // async function getPageData(catid, img_num, text_num, modulesNum, childNavNum, childImgNum, childTextNum) {
  684. // const mkdata = await requestDataPromise('/web/getWebsiteCatidArticle', {
  685. // method: 'GET',
  686. // query: {
  687. // 'catid': catid, //catid
  688. // 'img_num': img_num, //图片数量
  689. // 'text_num': text_num, //文字数量
  690. // 'child_catnum': childNavNum,//子级栏目菜单数量
  691. // 'child_imgnum': childImgNum,//子栏目展示图片新闻数量
  692. // 'child_textnum': childTextNum//子栏目展示文字新闻数量
  693. // },
  694. // });
  695. // if (modulesNum == 1) {
  696. // for (let i in mkdata.data.img) {
  697. // if (i < 1) {
  698. // pageData.value[0].data.push(mkdata.data.img[i]);
  699. // } else {
  700. // pageData.value[0].data1.push(mkdata.data.img[i]);
  701. // }
  702. // }
  703. // pageData.value[0].data2 = mkdata.data.text;
  704. // }
  705. // if (modulesNum == 2) {
  706. // pageData.value[1].data = mkdata.data.img;
  707. // pageData.value[1].data1 = mkdata.data.text;
  708. // }
  709. // if (modulesNum == 3) {
  710. // for (let i in mkdata.data.img) {
  711. // if (i < 1) {
  712. // pageData.value[2].data.push(mkdata.data.img[i]);
  713. // } else {
  714. // pageData.value[2].data1.push(mkdata.data.img[i]);
  715. // }
  716. // }
  717. // pageData.value[2].data2 = mkdata.data.text;
  718. // }
  719. // if (modulesNum == 4) {
  720. // pageData.value[3].data = mkdata.data.img;
  721. // pageData.value[3].data2 = mkdata.data.text;
  722. // }
  723. // //模块5
  724. // if (modulesNum == 5) {
  725. // pageData.value[4].data = mkdata.data.img;
  726. // for (let i in mkdata.data.text) {
  727. // if (i < 5) {
  728. // pageData.value[4].data1.push(mkdata.data.text[i]);
  729. // } else {
  730. // pageData.value[4].data2.push(mkdata.data.text[i]);
  731. // }
  732. // }
  733. // }
  734. // if (modulesNum == 6) {
  735. // for (let i in mkdata.data.img) {
  736. // if (i < 1) {
  737. // pageData.value[5].data.push(mkdata.data.img[i]);
  738. // } else {
  739. // pageData.value[5].data1.push(mkdata.data.img[i]);
  740. // }
  741. // }
  742. // pageData.value[5].data2 = mkdata.data.text;
  743. // }
  744. // if (modulesNum == 7) {
  745. // for (let i in mkdata.data.img) {
  746. // if (i < 1) {
  747. // pageData.value[6].data.push(mkdata.data.img[i]);
  748. // } else {
  749. // pageData.value[6].data1.push(mkdata.data.img[i]);
  750. // }
  751. // }
  752. // pageData.value[6].data2 = mkdata.data.text;
  753. // }
  754. // //模块8
  755. // if (modulesNum == 8) {
  756. // pageData.value[7].data = mkdata.data.img;
  757. // for (let i in mkdata.data.text) {
  758. // if (i < 7) {
  759. // pageData.value[7].data1.push(mkdata.data.text[i]);
  760. // } else if (i < 9) {
  761. // pageData.value[7].data2.push(mkdata.data.text[i]);
  762. // } else if (i < 11) {
  763. // pageData.value[7].data3.push(mkdata.data.text[i]);
  764. // } else {
  765. // pageData.value[7].data4.push(mkdata.data.text[i]);
  766. // }
  767. // }
  768. // }
  769. // }
  770. //新农村
  771. //模块1 理论前沿
  772. // async function getPageData1() {
  773. // await getPageData(pageData.value[0].cid, 3, 10, 1, 0, 0, 0);
  774. // }
  775. // //模块2 典型经验
  776. // async function getPageData2() {
  777. // await getPageData(pageData.value[1].cid, 2, 6, 2, 0, 0, 0);
  778. // }
  779. // //模块3 农业天地
  780. // async function getPageData3() {
  781. // await getPageData(pageData.value[2].cid, 3, 10, 3, 0, 0, 0);
  782. // }
  783. // //模块4 美丽乡村
  784. // async function getPageData4() {
  785. // await getPageData(pageData.value[3].cid, 2, 6, 4, 0, 0, 0);
  786. // }
  787. // //模块5 农民之家
  788. // async function getPageData5() {
  789. // await getPageData(pageData.value[4].cid, 1, 10, 5, 0, 0, 0);
  790. // }
  791. // //模块6 农业天地
  792. // async function getPageData6() {
  793. // await getPageData(pageData.value[5].cid, 3, 10, 6, 0, 0, 0);
  794. // }
  795. // //模块7 农村建设
  796. // async function getPageData7() {
  797. // await getPageData(pageData.value[6].cid, 3, 10, 7, 0, 0, 0);
  798. // }
  799. // //模块8 高端资讯
  800. // async function getPageData8() {
  801. // await getPageData(pageData.value[7].cid, 3, 13, 8, 0, 0, 0);
  802. // }
  803. // 注意,为了保持模块的数量,当前固定为8个
  804. // 所以这里的农业天地,合并了原来是下面的7号模块
  805. // 而原本是7号模块的地方现在变成了8号模块
  806. //3.渲染页面数据 end ---------------------------------------->
  807. //4.设置seo信息 start---------------------------------------->
  808. //4.1 设置seo信息
  809. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  810. method: 'GET',
  811. query: {
  812. 'catid': routeId
  813. },
  814. });
  815. if (setData.code == 200) {
  816. let seoTitle = setData.data.seo_title;
  817. let seoDescription = setData.data.seo_description;
  818. let seoKeywords = setData.data.seo_keywords;
  819. let seoSuffix = setData.data.suffix;
  820. let seoName = setData.data.website_name;
  821. useSeoMeta({
  822. title: seoTitle + "_" + seoSuffix,
  823. meta: [
  824. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  825. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  826. ]
  827. });
  828. } else {
  829. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  830. console.log("错误位置:设置分类页面SEO数据")
  831. console.log("后端错误反馈:", setData.message)
  832. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  833. }
  834. //4.设置seo信息 end---------------------------------------->
  835. //5. 获取日期中单独的年 月 日 start--------------------------->
  836. function getTime(date, part, digits) {
  837. const d = new Date(date);
  838. if (part === 'year') {
  839. let year = d.getFullYear();
  840. if (digits === 2) {
  841. return String(year).slice(-2);
  842. }
  843. return year;
  844. } else if (part === 'month') {
  845. let month = d.getMonth() + 1;
  846. if (digits === 2) {
  847. return String(month).padStart(2, '0');
  848. }
  849. if (month < 10) {
  850. month = '0' + month;
  851. } else {
  852. month = month;
  853. }
  854. return month;
  855. } else if (part === 'day') {
  856. let day = d.getDate();
  857. if (digits === 2) {
  858. return String(day).padStart(2, '0');
  859. }
  860. return day;
  861. }
  862. return null;
  863. }
  864. //5. 获取日期中单独的年 月 日 end------------------------------>
  865. </script>
  866. <style lang="less" scoped>
  867. // 一级标题
  868. .nav1 {
  869. width: 100%;
  870. height: 214px;
  871. background: #fff;
  872. .inner {
  873. width: 1200px;
  874. height: 214px;
  875. margin: 0 auto;
  876. .nav1_title {
  877. width: 1120px;
  878. height: 214px;
  879. margin-left: 40px;
  880. line-height: 217px;
  881. text-align: center;
  882. font-family: DingTalk JinBuTi, DingTalk JinBuTi;
  883. font-weight: 400;
  884. font-size: 50px;
  885. color: #6D2512;
  886. background: url(/_nuxt/public/index/title_bg.png) no-repeat 0;
  887. }
  888. }
  889. }
  890. .nav2top {
  891. width: 1250px;
  892. height: 3px;
  893. margin: 0 auto;
  894. background-color: #a01c0e;
  895. }
  896. .nav2btm {
  897. width: 1200px;
  898. height: 3px;
  899. margin: 0 auto;
  900. background-color: #a01c0e;
  901. }
  902. .nav2 {
  903. width: 100%;
  904. height: 48px;
  905. background-color: #a01c0e;
  906. .inner {
  907. width: 1250px;
  908. height: 48px;
  909. line-height: 48px;
  910. padding: 0 45px;
  911. margin: 0 auto;
  912. box-sizing: border-box;
  913. display: flex;
  914. // justify-content: space-between;
  915. .titleList {
  916. font-family: Microsoft YaHei, Microsoft YaHei;
  917. font-weight: bold;
  918. font-size: 14px;
  919. color: #FFFFFF;
  920. .nav2_title {
  921. display: inline-block;
  922. font-family: Microsoft YaHei, Microsoft YaHei;
  923. font-weight: bold;
  924. font-size: 14px;
  925. color: #FFFFFF;
  926. }
  927. a {
  928. padding: 0 38px;
  929. color: #FFFFFF;
  930. border-left: 1px solid #7E1C11;
  931. }
  932. //鼠标点击后的样式
  933. .nav2_title_active {
  934. display: inline-block;
  935. font-family: Microsoft YaHei, Microsoft YaHei;
  936. font-weight: bold;
  937. font-size: 14px;
  938. color: #FFFFFF;
  939. border-bottom: 1px solid #FFFFFF;
  940. }
  941. }
  942. .titleList:hover {
  943. a {
  944. color: #a01c0e;
  945. .nav2_title {
  946. border-bottom: 1px solid #FFFFFF;
  947. }
  948. }
  949. }
  950. .home {
  951. width: 100px;
  952. font-family: Microsoft YaHei, Microsoft YaHei;
  953. font-weight: bold;
  954. font-size: 14px;
  955. color: #F8ECD2;
  956. }
  957. }
  958. }
  959. //第一部分
  960. .part1 {
  961. width: 100%;
  962. height: 585px;
  963. margin-top: 35px;
  964. .inner {
  965. width: 1200px;
  966. margin: 0 auto;
  967. .part1_left {
  968. float: left;
  969. width: 720px;
  970. .part1_title {
  971. width: 720px;
  972. height: 50px;
  973. line-height: 50px;
  974. .nav_part1_left {
  975. float: left;
  976. font-family: Microsoft YaHei, Microsoft YaHei;
  977. font-weight: 400;
  978. font-size: 20px;
  979. color: #333333;
  980. position: relative;
  981. a {
  982. color: #333333;
  983. }
  984. em {
  985. display: inline-block;
  986. width: 8px;
  987. height: 8px;
  988. background-color: #a01c0e;
  989. border-radius: 4px;
  990. position: absolute;
  991. top: 5px;
  992. }
  993. }
  994. }
  995. .part1_content {
  996. width: 720px;
  997. margin-top: 20px;
  998. .context_left {
  999. float: left;
  1000. width: 350px;
  1001. .top {
  1002. width: 350px;
  1003. img {
  1004. width: 350px;
  1005. height: 230px;
  1006. }
  1007. a .title1 {
  1008. margin-top: 15px;
  1009. width: 350px;
  1010. height: 48px;
  1011. display: -webkit-box;
  1012. -webkit-box-orient: vertical;
  1013. -webkit-line-clamp: 2;
  1014. overflow: hidden;
  1015. text-overflow: ellipsis;
  1016. word-break: break-all;
  1017. font-family: Microsoft YaHei, Microsoft YaHei;
  1018. font-weight: bold;
  1019. font-size: 18px;
  1020. color: #333333;
  1021. }
  1022. }
  1023. .top:hover {
  1024. a .title1 {
  1025. color: #a01c0e;
  1026. }
  1027. }
  1028. .bottom {
  1029. width: 350px;
  1030. margin-top: 25px;
  1031. .bottom_left {
  1032. float: left;
  1033. width: 165px;
  1034. img {
  1035. width: 165px;
  1036. height: 96px;
  1037. }
  1038. a .title2 {
  1039. margin-top: 10px;
  1040. width: 165px;
  1041. height: 48px;
  1042. display: -webkit-box;
  1043. -webkit-box-orient: vertical;
  1044. -webkit-line-clamp: 2;
  1045. overflow: hidden;
  1046. text-overflow: ellipsis;
  1047. word-break: break-all;
  1048. font-family: Microsoft YaHei, Microsoft YaHei;
  1049. font-weight: 400;
  1050. font-size: 18px;
  1051. color: #333333;
  1052. }
  1053. }
  1054. .bottom_left:first-child {
  1055. margin-right: 20px;
  1056. }
  1057. }
  1058. .bottom_left:hover {
  1059. a .title2 {
  1060. color: #a01c0e;
  1061. }
  1062. }
  1063. }
  1064. .context_right {
  1065. float: right;
  1066. width: 350px;
  1067. .rightContent {
  1068. width: 350px;
  1069. height: 230px;
  1070. .context1:nth-child(5n+1) {
  1071. width: 345px;
  1072. white-space: nowrap;
  1073. overflow: hidden;
  1074. text-overflow: ellipsis;
  1075. font-family: Microsoft YaHei, Microsoft YaHei;
  1076. font-weight: bold;
  1077. font-size: 18px;
  1078. color: #333333;
  1079. a {
  1080. color: #333333;
  1081. }
  1082. }
  1083. .context1:nth-child(5n+1):hover a {
  1084. color: #a01c0e;
  1085. }
  1086. .context1 {
  1087. margin-bottom: 27px;
  1088. width: 345px;
  1089. white-space: nowrap;
  1090. overflow: hidden;
  1091. text-overflow: ellipsis;
  1092. font-family: Microsoft YaHei, Microsoft YaHei;
  1093. font-weight: 400;
  1094. font-size: 18px;
  1095. color: #333333;
  1096. a {
  1097. color: #333333;
  1098. }
  1099. }
  1100. .context1:hover a {
  1101. color: #a01c0e;
  1102. }
  1103. }
  1104. }
  1105. }
  1106. }
  1107. .part1_right {
  1108. float: right;
  1109. width: 450px;
  1110. // height: 1000px;
  1111. .part1_right_title {
  1112. width: 450px;
  1113. height: 50px;
  1114. line-height: 50px;
  1115. .part1_right_title1_active {
  1116. float: left;
  1117. margin-right: 40px;
  1118. font-family: Microsoft YaHei, Microsoft YaHei;
  1119. font-weight: 400;
  1120. font-size: 20px;
  1121. color: #333333;
  1122. position: relative;
  1123. a {
  1124. color: #333333;
  1125. }
  1126. .active_bg {
  1127. display: inline-block;
  1128. width: 8px;
  1129. height: 8px;
  1130. background-color: #a01c0e;
  1131. border-radius: 4px;
  1132. position: absolute;
  1133. top: 7px;
  1134. right: -5px;
  1135. }
  1136. }
  1137. .part1_right_title1 {
  1138. float: left;
  1139. margin-right: 40px;
  1140. font-family: Microsoft YaHei, Microsoft YaHei;
  1141. font-weight: 400;
  1142. font-size: 20px;
  1143. color: #999999;
  1144. position: relative;
  1145. a {
  1146. color: #999999;
  1147. }
  1148. }
  1149. }
  1150. .part1_right_content {
  1151. width: 450px;
  1152. // height: 940px;
  1153. margin-top: 20px;
  1154. .part1_right_top11 {
  1155. width: 450px;
  1156. height: 180px;
  1157. position: relative;
  1158. .part1_right_content_top {
  1159. float: left;
  1160. width: 220px;
  1161. height: 180px;
  1162. a img {
  1163. width: 220px;
  1164. height: 130px;
  1165. }
  1166. a .content_top_title2 {
  1167. display: inline-block;
  1168. width: 220px;
  1169. padding: 0 10px;
  1170. box-sizing: border-box;
  1171. white-space: nowrap;
  1172. overflow: hidden;
  1173. text-overflow: ellipsis;
  1174. font-family: Microsoft YaHei, Microsoft YaHei;
  1175. font-weight: 400;
  1176. font-size: 18px;
  1177. color: #333333;
  1178. margin-top: 10px;
  1179. }
  1180. }
  1181. .part1_right_content_top:hover {
  1182. a .content_top_title2 {
  1183. color: #a01c0e;
  1184. }
  1185. }
  1186. .part1_right_content_top:nth-child(2) {
  1187. margin-left: 10px;
  1188. }
  1189. }
  1190. .part1_right_content_bottom {
  1191. width: 450px;
  1192. height: 300px;
  1193. margin-top: 15px;
  1194. overflow: hidden;
  1195. .content_bottom_list {
  1196. width: 450px;
  1197. height: 22px;
  1198. line-height: 21px;
  1199. white-space: nowrap;
  1200. overflow: hidden;
  1201. text-overflow: ellipsis;
  1202. margin-bottom: 28px;
  1203. font-family: Microsoft YaHei, Microsoft YaHei;
  1204. font-weight: 400;
  1205. font-size: 18px;
  1206. color: #333333;
  1207. a {
  1208. color: #333333;
  1209. }
  1210. }
  1211. .content_bottom_list:hover {
  1212. a {
  1213. color: #a01c0e;
  1214. }
  1215. }
  1216. }
  1217. }
  1218. }
  1219. }
  1220. }
  1221. //第二部分
  1222. .part2 {
  1223. width: 100%;
  1224. overflow: hidden;
  1225. // margin-bottom: 40px;
  1226. .inner {
  1227. width: 1200px;
  1228. margin: 0 auto;
  1229. .part2_left {
  1230. float: left;
  1231. width: 720px;
  1232. .part2_title {
  1233. width: 720px;
  1234. height: 50px;
  1235. line-height: 50px;
  1236. .nav_part2_left {
  1237. float: left;
  1238. width: 100px;
  1239. font-family: Microsoft YaHei, Microsoft YaHei;
  1240. font-weight: 400;
  1241. font-size: 20px;
  1242. color: #333333;
  1243. position: relative;
  1244. a {
  1245. color: #333333;
  1246. }
  1247. em {
  1248. display: inline-block;
  1249. width: 8px;
  1250. height: 8px;
  1251. background-color: #a01c0e;
  1252. border-radius: 4px;
  1253. position: absolute;
  1254. top: 9px;
  1255. right: 6px;
  1256. }
  1257. }
  1258. }
  1259. .part2_content {
  1260. width: 720px;
  1261. margin-top: 20px;
  1262. .part2_content_left {
  1263. float: left;
  1264. width: 350px;
  1265. .content_a {
  1266. width: 350px;
  1267. height: 230px;
  1268. // margin-bottom: 25px;
  1269. .context111:nth-child(5n+1) {
  1270. width: 345px;
  1271. white-space: nowrap;
  1272. overflow: hidden;
  1273. text-overflow: ellipsis;
  1274. font-family: Microsoft YaHei, Microsoft YaHei;
  1275. font-weight: bold;
  1276. font-size: 18px;
  1277. color: #333333;
  1278. a {
  1279. color: #333333;
  1280. }
  1281. }
  1282. .context111 {
  1283. margin-bottom: 27px;
  1284. width: 345px;
  1285. white-space: nowrap;
  1286. overflow: hidden;
  1287. text-overflow: ellipsis;
  1288. font-family: Microsoft YaHei, Microsoft YaHei;
  1289. font-weight: 400;
  1290. font-size: 18px;
  1291. color: #333333;
  1292. a {
  1293. color: #333333;
  1294. }
  1295. }
  1296. .context111:hover a {
  1297. color: #a01c0e;
  1298. }
  1299. }
  1300. }
  1301. .part2_content_right {
  1302. float: right;
  1303. width: 350px;
  1304. height: 480px;
  1305. .right_top {
  1306. width: 350px;
  1307. height: 300px;
  1308. a img {
  1309. width: 350px;
  1310. height: 230px;
  1311. }
  1312. a .title11 {
  1313. margin-top: 15px;
  1314. width: 350px;
  1315. height: 48px;
  1316. display: -webkit-box;
  1317. -webkit-box-orient: vertical;
  1318. -webkit-line-clamp: 2;
  1319. overflow: hidden;
  1320. text-overflow: ellipsis;
  1321. word-break: break-all;
  1322. font-family: Microsoft YaHei, Microsoft YaHei;
  1323. font-weight: bold;
  1324. font-size: 18px;
  1325. color: #333333;
  1326. }
  1327. }
  1328. .right_top:hover {
  1329. color: #a01c0e;
  1330. a .title11 {
  1331. color: #a01c0e;
  1332. }
  1333. }
  1334. .right_bottom {
  1335. width: 350px;
  1336. height: 165px;
  1337. margin-top: 20px;
  1338. .bottom_left {
  1339. float: left;
  1340. width: 165px;
  1341. height: 130px;
  1342. a img {
  1343. width: 165px;
  1344. height: 96px;
  1345. }
  1346. a .title22 {
  1347. margin-top: 10px;
  1348. width: 165px;
  1349. height: 48px;
  1350. display: -webkit-box;
  1351. -webkit-box-orient: vertical;
  1352. -webkit-line-clamp: 2;
  1353. overflow: hidden;
  1354. text-overflow: ellipsis;
  1355. word-break: break-all;
  1356. font-family: Microsoft YaHei, Microsoft YaHei;
  1357. font-weight: 400;
  1358. font-size: 18px;
  1359. color: #333333;
  1360. }
  1361. }
  1362. .bottom_left:hover {
  1363. color: #a01c0e;
  1364. a .title22 {
  1365. color: #a01c0e;
  1366. }
  1367. }
  1368. .bottom_left:first-child {
  1369. margin-right: 20px;
  1370. }
  1371. }
  1372. }
  1373. }
  1374. }
  1375. .part2_right {
  1376. float: right;
  1377. width: 450px;
  1378. // height: 1000px;
  1379. .part2_right_title {
  1380. width: 450px;
  1381. height: 50px;
  1382. line-height: 50px;
  1383. .part2_right_title1_active {
  1384. float: left;
  1385. margin-right: 40px;
  1386. font-family: Microsoft YaHei, Microsoft YaHei;
  1387. font-weight: 400;
  1388. font-size: 20px;
  1389. color: #333333;
  1390. position: relative;
  1391. a {
  1392. color: #333333;
  1393. }
  1394. .active_bg11 {
  1395. display: inline-block;
  1396. width: 8px;
  1397. height: 8px;
  1398. background-color: #a01c0e;
  1399. border-radius: 4px;
  1400. position: absolute;
  1401. top: 7px;
  1402. right: -5px;
  1403. }
  1404. }
  1405. .part2_right_title1 {
  1406. float: left;
  1407. margin-right: 40px;
  1408. font-family: Microsoft YaHei, Microsoft YaHei;
  1409. font-weight: 400;
  1410. font-size: 20px;
  1411. color: #999999;
  1412. position: relative;
  1413. a {
  1414. color: #999999;
  1415. }
  1416. }
  1417. }
  1418. .part2_right_content {
  1419. width: 450px;
  1420. margin-top: 20px;
  1421. .part2_right_top11 {
  1422. width: 450px;
  1423. height: 170px;
  1424. position: relative;
  1425. .part2_right_content_top {
  1426. float: left;
  1427. width: 220px;
  1428. height: 180px;
  1429. a img {
  1430. width: 220px;
  1431. height: 130px;
  1432. }
  1433. a .content_top_title22 {
  1434. display: inline-block;
  1435. width: 220px;
  1436. padding: 0 10px;
  1437. box-sizing: border-box;
  1438. white-space: nowrap;
  1439. overflow: hidden;
  1440. text-overflow: ellipsis;
  1441. font-family: Microsoft YaHei, Microsoft YaHei;
  1442. font-weight: 400;
  1443. font-size: 18px;
  1444. color: #333333;
  1445. margin-top: 10px;
  1446. }
  1447. }
  1448. .part2_right_content_top:hover {
  1449. a .content_top_title22 {
  1450. color: #a01c0e;
  1451. }
  1452. }
  1453. .part2_right_content_top:nth-child(2) {
  1454. margin-left: 10px;
  1455. }
  1456. }
  1457. .part2_right_content_bottom {
  1458. width: 450px;
  1459. height: 300px;
  1460. margin-top: 20px;
  1461. overflow: hidden;
  1462. .content_bottom_list {
  1463. width: 450px;
  1464. height: 22px;
  1465. line-height: 21px;
  1466. white-space: nowrap;
  1467. overflow: hidden;
  1468. text-overflow: ellipsis;
  1469. margin-bottom: 28px;
  1470. font-family: Microsoft YaHei, Microsoft YaHei;
  1471. font-weight: 400;
  1472. font-size: 18px;
  1473. color: #333333;
  1474. a {
  1475. color: #333333;
  1476. }
  1477. }
  1478. .content_bottom_list:hover {
  1479. a {
  1480. color: #a01c0e;
  1481. }
  1482. }
  1483. }
  1484. }
  1485. }
  1486. }
  1487. }
  1488. //第三部分
  1489. .part3 {
  1490. width: 100%;
  1491. overflow: hidden;
  1492. // height: 1200px;
  1493. margin-top: 35px;
  1494. margin-bottom: 40px;
  1495. .inner {
  1496. width: 1200px;
  1497. height: 1200px;
  1498. background-color: #fff;
  1499. .part3_left {
  1500. float: left;
  1501. .part3_left_top {
  1502. width: 720px;
  1503. overflow: hidden;
  1504. .part3_leftTitle {
  1505. width: 720px;
  1506. height: 50px;
  1507. line-height: 50px;
  1508. .part3_left_title:first-child {
  1509. float: left;
  1510. margin-right: 20px;
  1511. width: 100px;
  1512. height: 50px;
  1513. line-height: 50px;
  1514. position: relative;
  1515. font-family: Microsoft YaHei, Microsoft YaHei;
  1516. font-weight: 400;
  1517. font-size: 20px;
  1518. color: #333333;
  1519. a {
  1520. color: #333333;
  1521. }
  1522. em {
  1523. display: inline-block;
  1524. width: 8px;
  1525. height: 8px;
  1526. background-color: #a01c0e;
  1527. border-radius: 4px;
  1528. position: absolute;
  1529. top: 9px;
  1530. right: 6px;
  1531. }
  1532. }
  1533. .part3_left_title {
  1534. float: left;
  1535. margin-right: 20px;
  1536. width: 100px;
  1537. height: 50px;
  1538. line-height: 50px;
  1539. position: relative;
  1540. font-family: Microsoft YaHei, Microsoft YaHei;
  1541. font-weight: 400;
  1542. font-size: 20px;
  1543. color: #999999;
  1544. a {
  1545. color: #999999;
  1546. }
  1547. // em{
  1548. // display: inline-block;
  1549. // width: 8px;
  1550. // height: 8px;
  1551. // background-color: #a01c0e;
  1552. // border-radius: 4px;
  1553. // position: absolute;
  1554. // top: 9px;
  1555. // right: 6px;
  1556. // }
  1557. }
  1558. }
  1559. .part3_left_content {
  1560. width: 720px;
  1561. margin-top: 20px;
  1562. .part3_left_content_top {
  1563. .content_top_left {
  1564. float: left;
  1565. width: 350px;
  1566. height: 484px;
  1567. .part3_photo_text {
  1568. width: 350px;
  1569. height: 280px;
  1570. position: relative;
  1571. img {
  1572. width: 350px;
  1573. height: 230px;
  1574. }
  1575. .littleTips {
  1576. display: inline-block;
  1577. width: 50px;
  1578. height: 26px;
  1579. line-height: 26px;
  1580. text-align: center;
  1581. background-color: #a01c0e;
  1582. font-family: Microsoft YaHei, Microsoft YaHei;
  1583. font-weight: 400;
  1584. font-size: 16px;
  1585. color: #fff;
  1586. position: absolute;
  1587. top: 0;
  1588. right: 10px;
  1589. }
  1590. .part3_text {
  1591. display: inline-block;
  1592. width: 350px;
  1593. height: 26px;
  1594. white-space: nowrap;
  1595. overflow: hidden;
  1596. text-overflow: ellipsis;
  1597. font-family: Microsoft YaHei, Microsoft YaHei;
  1598. font-weight: bold;
  1599. font-size: 18px;
  1600. color: #333333;
  1601. margin-top: 15px;
  1602. }
  1603. }
  1604. .part3_photo_text:hover {
  1605. .part3_text {
  1606. color: #a01c0e;
  1607. }
  1608. }
  1609. .part3_content {
  1610. width: 350px;
  1611. .part3_content_list:first-child {
  1612. width: 350px;
  1613. height: 25px;
  1614. white-space: nowrap;
  1615. overflow: hidden;
  1616. text-overflow: ellipsis;
  1617. font-family: Microsoft YaHei, Microsoft YaHei;
  1618. font-weight: bold;
  1619. font-size: 18px;
  1620. color: #333333;
  1621. line-height: 22px;
  1622. margin-top: 35px;
  1623. a {
  1624. color: #333333;
  1625. }
  1626. }
  1627. .part3_content_list:first-child:hover {
  1628. a {
  1629. color: #a01c0e;
  1630. }
  1631. }
  1632. .part3_content_list:last-child {
  1633. margin-bottom: 0;
  1634. }
  1635. .part3_content_list {
  1636. width: 350px;
  1637. height: 25px;
  1638. white-space: nowrap;
  1639. overflow: hidden;
  1640. text-overflow: ellipsis;
  1641. font-family: Microsoft YaHei, Microsoft YaHei;
  1642. font-weight: 400;
  1643. font-size: 18px;
  1644. color: #333333;
  1645. line-height: 22px;
  1646. margin-bottom: 27px;
  1647. a {
  1648. color: #333333;
  1649. }
  1650. }
  1651. .part3_content_list:hover {
  1652. a {
  1653. color: #a01c0e;
  1654. }
  1655. }
  1656. }
  1657. }
  1658. .content_top_right {
  1659. float: left;
  1660. width: 350px;
  1661. height: 542px;
  1662. border: 1px solid #D9D9D9;
  1663. margin-left: 20px;
  1664. padding: 30px 25px;
  1665. box-sizing: border-box;
  1666. .content_right_list {
  1667. width: 350px;
  1668. height: 58px;
  1669. line-height: 58px;
  1670. margin-bottom: 48px;
  1671. .part3_time {
  1672. float: left;
  1673. width: 77px;
  1674. height: 58px;
  1675. color: #a01c0e;
  1676. .month {
  1677. font-family: Microsoft YaHei, Microsoft YaHei;
  1678. font-weight: 400;
  1679. font-size: 26px;
  1680. color: #A01C0E;
  1681. line-height: 30px;
  1682. }
  1683. .xiegang {
  1684. font-size: 22px;
  1685. font-weight: 400;
  1686. }
  1687. .day {
  1688. font-family: Microsoft YaHei, Microsoft YaHei;
  1689. font-weight: 400;
  1690. font-size: 16px;
  1691. color: #A01C0E;
  1692. line-height: 19px;
  1693. }
  1694. }
  1695. .time_left_content {
  1696. float: left;
  1697. width: 231px;
  1698. height: 58px;
  1699. display: -webkit-box;
  1700. -webkit-box-orient: vertical;
  1701. -webkit-line-clamp: 2;
  1702. overflow: hidden;
  1703. text-overflow: ellipsis;
  1704. word-break: break-all;
  1705. line-height: 22px;
  1706. padding-top: 12px;
  1707. box-sizing: border-box;
  1708. font-family: Microsoft YaHei, Microsoft YaHei;
  1709. font-weight: 400;
  1710. font-size: 18px;
  1711. color: #333333;
  1712. border-left: 1px solid #D9D9D9;
  1713. padding-left: 22px;
  1714. a {
  1715. color: #333333;
  1716. }
  1717. a:hover {
  1718. color: #a01c0e;
  1719. }
  1720. }
  1721. }
  1722. .content_right_list:hover {
  1723. .time_left_content {
  1724. color: #a01c0e;
  1725. }
  1726. }
  1727. }
  1728. }
  1729. }
  1730. }
  1731. .part3_left_bottom {
  1732. width: 720px;
  1733. margin-top: 25px;
  1734. .part3_leftTitle1 {
  1735. width: 720px;
  1736. height: 50px;
  1737. line-height: 50px;
  1738. margin-bottom: 25px;
  1739. .part3_left_title_active {
  1740. float: left;
  1741. margin-right: 20px;
  1742. width: 100px;
  1743. height: 50px;
  1744. line-height: 50px;
  1745. position: relative;
  1746. font-family: Microsoft YaHei, Microsoft YaHei;
  1747. font-weight: 400;
  1748. font-size: 20px;
  1749. color: #333333;
  1750. a.active {
  1751. color: #333333;
  1752. }
  1753. em {
  1754. display: inline-block;
  1755. width: 8px;
  1756. height: 8px;
  1757. background-color: #a01c0e;
  1758. border-radius: 4px;
  1759. position: absolute;
  1760. top: 9px;
  1761. right: 6px;
  1762. }
  1763. }
  1764. .part3_left_title {
  1765. float: left;
  1766. margin-right: 20px;
  1767. width: 100px;
  1768. height: 50px;
  1769. line-height: 50px;
  1770. position: relative;
  1771. font-family: Microsoft YaHei, Microsoft YaHei;
  1772. font-weight: 400;
  1773. font-size: 20px;
  1774. color: #999999;
  1775. a {
  1776. color: #999999;
  1777. }
  1778. // em{
  1779. // display: inline-block;
  1780. // width: 8px;
  1781. // height: 8px;
  1782. // background-color: #a01c0e;
  1783. // border-radius: 4px;
  1784. // position: absolute;
  1785. // top: 9px;
  1786. // right: 6px;
  1787. // }
  1788. }
  1789. }
  1790. .part3_left_content1 {
  1791. width: 720px;
  1792. .content_bottom_left {
  1793. float: left;
  1794. width: 350px;
  1795. // height: 350px;
  1796. .content_top {
  1797. width: 350px;
  1798. img {
  1799. width: 350px;
  1800. height: 230px;
  1801. }
  1802. .part3_text {
  1803. display: inline-block;
  1804. width: 350px;
  1805. height: 50px;
  1806. line-height: 22px;
  1807. display: -webkit-box;
  1808. -webkit-box-orient: vertical;
  1809. -webkit-line-clamp: 2;
  1810. overflow: hidden;
  1811. text-overflow: ellipsis;
  1812. word-break: break-all;
  1813. margin-top: 15px;
  1814. font-family: Microsoft YaHei, Microsoft YaHei;
  1815. font-weight: bold;
  1816. font-size: 18px;
  1817. color: #333333
  1818. }
  1819. }
  1820. .content_top:hover {
  1821. .part3_text {
  1822. color: #a01c0e;
  1823. }
  1824. }
  1825. .content_bottom {
  1826. width: 350px;
  1827. margin-top: 20px;
  1828. .content_bottom_1 {
  1829. float: left;
  1830. width: 165px;
  1831. img {
  1832. width: 165px;
  1833. height: 96px;
  1834. }
  1835. .part3_text {
  1836. display: inline-block;
  1837. width: 165px;
  1838. height: 44px;
  1839. line-height: 22px;
  1840. display: -webkit-box;
  1841. -webkit-box-orient: vertical;
  1842. -webkit-line-clamp: 2;
  1843. overflow: hidden;
  1844. text-overflow: ellipsis;
  1845. word-break: break-all;
  1846. font-family: Microsoft YaHei, Microsoft YaHei;
  1847. font-weight: 400;
  1848. font-size: 18px;
  1849. color: #333333;
  1850. margin-top: 10px;
  1851. }
  1852. }
  1853. .content_bottom_1:hover {
  1854. .part3_text {
  1855. color: #a01c0e;
  1856. }
  1857. }
  1858. .content_bottom_1:first-child {
  1859. margin-right: 20px;
  1860. }
  1861. }
  1862. }
  1863. .content_bottom_right {
  1864. float: left;
  1865. margin-left: 20px;
  1866. width: 350px;
  1867. .bottom_content_1 {
  1868. width: 350px;
  1869. .bottom_content_list:nth-child(5n+1) {
  1870. font-weight: bold;
  1871. }
  1872. .bottom_content_list {
  1873. width: 350px;
  1874. height: 25px;
  1875. white-space: nowrap;
  1876. overflow: hidden;
  1877. text-overflow: ellipsis;
  1878. font-family: Microsoft YaHei, Microsoft YaHei;
  1879. font-weight: 400;
  1880. font-size: 18px;
  1881. color: #333333;
  1882. line-height: 21px;
  1883. margin-bottom: 25px;
  1884. a {
  1885. color: #333333;
  1886. }
  1887. }
  1888. .bottom_content_list:hover {
  1889. a {
  1890. color: #a01c0e;
  1891. }
  1892. }
  1893. }
  1894. .bottom_content_1:first-child {
  1895. margin-bottom: 20px;
  1896. }
  1897. .bottom_content_1:last-child {
  1898. .bottom_content_list:last-child {
  1899. margin-bottom: 0;
  1900. }
  1901. }
  1902. }
  1903. }
  1904. }
  1905. }
  1906. .part3_right {
  1907. float: right;
  1908. width: 451px;
  1909. .part3_rightTitle {
  1910. width: 451px;
  1911. height: 50px;
  1912. line-height: 50px;
  1913. .part3_right_title:first-child {
  1914. float: left;
  1915. margin-right: 20px;
  1916. width: 100px;
  1917. height: 50px;
  1918. line-height: 50px;
  1919. position: relative;
  1920. font-family: Microsoft YaHei, Microsoft YaHei;
  1921. font-weight: 400;
  1922. font-size: 20px;
  1923. color: #333333;
  1924. a {
  1925. color: #333333;
  1926. }
  1927. em {
  1928. display: inline-block;
  1929. width: 8px;
  1930. height: 8px;
  1931. background-color: #a01c0e;
  1932. border-radius: 4px;
  1933. position: absolute;
  1934. top: 9px;
  1935. right: 6px;
  1936. }
  1937. }
  1938. .part3_right_title {
  1939. float: left;
  1940. margin-right: 20px;
  1941. width: 100px;
  1942. height: 50px;
  1943. line-height: 50px;
  1944. position: relative;
  1945. font-family: Microsoft YaHei, Microsoft YaHei;
  1946. font-weight: 400;
  1947. font-size: 20px;
  1948. color: #999999;
  1949. a {
  1950. color: #999999;
  1951. }
  1952. // em{
  1953. // display: inline-block;
  1954. // width: 8px;
  1955. // height: 8px;
  1956. // background-color: #a01c0e;
  1957. // border-radius: 4px;
  1958. // position: absolute;
  1959. // top: 9px;
  1960. // right: 6px;
  1961. // }
  1962. }
  1963. .rightMore {
  1964. float: right;
  1965. font-family: Microsoft YaHei, Microsoft YaHei;
  1966. font-weight: 400;
  1967. font-size: 12px;
  1968. color: #999999;
  1969. a {
  1970. color: #999999;
  1971. }
  1972. }
  1973. }
  1974. .part3_right_content_top {
  1975. width: 451px;
  1976. height: 325px;
  1977. position: relative;
  1978. margin-top: 20px;
  1979. .part3_right_contentlist_top {
  1980. font-family: Microsoft YaHei, Microsoft YaHei;
  1981. font-weight: 400;
  1982. font-size: 18px;
  1983. color: #333333;
  1984. width: 425px;
  1985. height: 25px;
  1986. white-space: nowrap;
  1987. overflow: hidden;
  1988. text-overflow: ellipsis;
  1989. margin-bottom: 25px;
  1990. a {
  1991. color: #333333;
  1992. }
  1993. .numStyle {
  1994. display: inline-block;
  1995. width: 22px;
  1996. height: 22px;
  1997. background-color: #f6f6f6;
  1998. text-align: center;
  1999. margin-right: 20px;
  2000. font-family: Protest Strike, Protest Strike;
  2001. font-weight: 400;
  2002. font-size: 16px;
  2003. color: #CCCCCC;
  2004. border-radius: 4px;
  2005. }
  2006. }
  2007. .part3_right_contentlist_top:hover {
  2008. color: #a01c0e;
  2009. a {
  2010. color: #a01c0e;
  2011. }
  2012. }
  2013. .part3_right_contentlist_top:nth-child(1) {
  2014. .numStyle {
  2015. background-color: #a01c0e;
  2016. color: #fff;
  2017. }
  2018. }
  2019. .part3_right_contentlist_top:nth-child(2) {
  2020. .numStyle {
  2021. background-color: #FFC62E;
  2022. color: #fff;
  2023. }
  2024. }
  2025. .part3_right_contentlist_top:nth-child(3) {
  2026. .numStyle {
  2027. background-color: #e98008;
  2028. color: #fff;
  2029. }
  2030. }
  2031. .part3_right_contentlist_top:last-child {
  2032. margin-bottom: 10px;
  2033. }
  2034. }
  2035. .part3_photo_text_right {
  2036. width: 451px;
  2037. height: 120px;
  2038. margin-top: 35px;
  2039. margin-bottom: 35px;
  2040. background-color: #f6f3f0;
  2041. .part3_text11 {
  2042. float: left;
  2043. width: 271px;
  2044. height: 96px;
  2045. display: -webkit-box;
  2046. -webkit-box-orient: vertical;
  2047. -webkit-line-clamp: 3;
  2048. overflow: hidden;
  2049. text-overflow: ellipsis;
  2050. word-break: break-all;
  2051. font-family: Microsoft YaHei, Microsoft YaHei;
  2052. font-weight: 400;
  2053. font-size: 18px;
  2054. color: #333333;
  2055. padding: 25px 20px;
  2056. box-sizing: border-box;
  2057. }
  2058. img {
  2059. float: left;
  2060. width: 180px;
  2061. height: 120px;
  2062. }
  2063. }
  2064. .part3_photo_text_right:hover {
  2065. color: #a01c0e;
  2066. .part3_text11 {
  2067. color: #a01c0e;
  2068. }
  2069. }
  2070. .part3_right_content_11 {
  2071. width: 451px;
  2072. height: 70px;
  2073. position: relative;
  2074. .part3_right_contentlist_11 {
  2075. width: 451px;
  2076. height: 25px;
  2077. white-space: nowrap;
  2078. overflow: hidden;
  2079. text-overflow: ellipsis;
  2080. font-family: Microsoft YaHei, Microsoft YaHei;
  2081. font-weight: 400;
  2082. font-size: 18px;
  2083. color: #333333;
  2084. line-height: 21px;
  2085. .erjibiaoti {
  2086. display: inline-block;
  2087. width: 87px;
  2088. height: 24px;
  2089. font-family: Microsoft YaHei, Microsoft YaHei;
  2090. font-weight: 400;
  2091. font-size: 18px;
  2092. color: #A01C0E;
  2093. border-right: #D3D5D8 1px solid;
  2094. margin-right: 10px;
  2095. }
  2096. a {
  2097. color: #333333;
  2098. }
  2099. }
  2100. .part3_right_contentlist_11:hover {
  2101. color: #a01c0e;
  2102. a {
  2103. color: #a01c0e;
  2104. }
  2105. }
  2106. .part3_right_contentlist_11:first-child {
  2107. margin-bottom: 25px;
  2108. }
  2109. }
  2110. }
  2111. }
  2112. }
  2113. </style>